package pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WlHomefloorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WlHomefloorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidIsNull() {
            addCriterion("homefloorStyleId is null");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidIsNotNull() {
            addCriterion("homefloorStyleId is not null");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidEqualTo(String value) {
            addCriterion("homefloorStyleId =", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidNotEqualTo(String value) {
            addCriterion("homefloorStyleId <>", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidGreaterThan(String value) {
            addCriterion("homefloorStyleId >", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidGreaterThanOrEqualTo(String value) {
            addCriterion("homefloorStyleId >=", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidLessThan(String value) {
            addCriterion("homefloorStyleId <", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidLessThanOrEqualTo(String value) {
            addCriterion("homefloorStyleId <=", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidLike(String value) {
            addCriterion("homefloorStyleId like", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidNotLike(String value) {
            addCriterion("homefloorStyleId not like", value, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidIn(List<String> values) {
            addCriterion("homefloorStyleId in", values, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidNotIn(List<String> values) {
            addCriterion("homefloorStyleId not in", values, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidBetween(String value1, String value2) {
            addCriterion("homefloorStyleId between", value1, value2, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andHomefloorstyleidNotBetween(String value1, String value2) {
            addCriterion("homefloorStyleId not between", value1, value2, "homefloorstyleid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andImageIsNull() {
            addCriterion("image is null");
            return (Criteria) this;
        }

        public Criteria andImageIsNotNull() {
            addCriterion("image is not null");
            return (Criteria) this;
        }

        public Criteria andImageEqualTo(String value) {
            addCriterion("image =", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotEqualTo(String value) {
            addCriterion("image <>", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThan(String value) {
            addCriterion("image >", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualTo(String value) {
            addCriterion("image >=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThan(String value) {
            addCriterion("image <", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualTo(String value) {
            addCriterion("image <=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLike(String value) {
            addCriterion("image like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotLike(String value) {
            addCriterion("image not like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageIn(List<String> values) {
            addCriterion("image in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotIn(List<String> values) {
            addCriterion("image not in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageBetween(String value1, String value2) {
            addCriterion("image between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotBetween(String value1, String value2) {
            addCriterion("image not between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImagedetailIsNull() {
            addCriterion("imagedetail is null");
            return (Criteria) this;
        }

        public Criteria andImagedetailIsNotNull() {
            addCriterion("imagedetail is not null");
            return (Criteria) this;
        }

        public Criteria andImagedetailEqualTo(String value) {
            addCriterion("imagedetail =", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailNotEqualTo(String value) {
            addCriterion("imagedetail <>", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailGreaterThan(String value) {
            addCriterion("imagedetail >", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailGreaterThanOrEqualTo(String value) {
            addCriterion("imagedetail >=", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailLessThan(String value) {
            addCriterion("imagedetail <", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailLessThanOrEqualTo(String value) {
            addCriterion("imagedetail <=", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailLike(String value) {
            addCriterion("imagedetail like", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailNotLike(String value) {
            addCriterion("imagedetail not like", value, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailIn(List<String> values) {
            addCriterion("imagedetail in", values, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailNotIn(List<String> values) {
            addCriterion("imagedetail not in", values, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailBetween(String value1, String value2) {
            addCriterion("imagedetail between", value1, value2, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andImagedetailNotBetween(String value1, String value2) {
            addCriterion("imagedetail not between", value1, value2, "imagedetail");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortIsNull() {
            addCriterion("homefloorSort is null");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortIsNotNull() {
            addCriterion("homefloorSort is not null");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortEqualTo(Integer value) {
            addCriterion("homefloorSort =", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortNotEqualTo(Integer value) {
            addCriterion("homefloorSort <>", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortGreaterThan(Integer value) {
            addCriterion("homefloorSort >", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortGreaterThanOrEqualTo(Integer value) {
            addCriterion("homefloorSort >=", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortLessThan(Integer value) {
            addCriterion("homefloorSort <", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortLessThanOrEqualTo(Integer value) {
            addCriterion("homefloorSort <=", value, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortIn(List<Integer> values) {
            addCriterion("homefloorSort in", values, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortNotIn(List<Integer> values) {
            addCriterion("homefloorSort not in", values, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortBetween(Integer value1, Integer value2) {
            addCriterion("homefloorSort between", value1, value2, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andHomefloorsortNotBetween(Integer value1, Integer value2) {
            addCriterion("homefloorSort not between", value1, value2, "homefloorsort");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNull() {
            addCriterion("createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNotNull() {
            addCriterion("createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridEqualTo(String value) {
            addCriterion("createUserId =", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotEqualTo(String value) {
            addCriterion("createUserId <>", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThan(String value) {
            addCriterion("createUserId >", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("createUserId >=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThan(String value) {
            addCriterion("createUserId <", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThanOrEqualTo(String value) {
            addCriterion("createUserId <=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLike(String value) {
            addCriterion("createUserId like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotLike(String value) {
            addCriterion("createUserId not like", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIn(List<String> values) {
            addCriterion("createUserId in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotIn(List<String> values) {
            addCriterion("createUserId not in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridBetween(String value1, String value2) {
            addCriterion("createUserId between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotBetween(String value1, String value2) {
            addCriterion("createUserId not between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNull() {
            addCriterion("updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIsNotNull() {
            addCriterion("updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridEqualTo(String value) {
            addCriterion("updateUserId =", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotEqualTo(String value) {
            addCriterion("updateUserId <>", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThan(String value) {
            addCriterion("updateUserId >", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserId >=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThan(String value) {
            addCriterion("updateUserId <", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLessThanOrEqualTo(String value) {
            addCriterion("updateUserId <=", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridLike(String value) {
            addCriterion("updateUserId like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotLike(String value) {
            addCriterion("updateUserId not like", value, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridIn(List<String> values) {
            addCriterion("updateUserId in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotIn(List<String> values) {
            addCriterion("updateUserId not in", values, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridBetween(String value1, String value2) {
            addCriterion("updateUserId between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdateuseridNotBetween(String value1, String value2) {
            addCriterion("updateUserId not between", value1, value2, "updateuserid");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCtypeIsNull() {
            addCriterion("cType is null");
            return (Criteria) this;
        }

        public Criteria andCtypeIsNotNull() {
            addCriterion("cType is not null");
            return (Criteria) this;
        }

        public Criteria andCtypeEqualTo(Integer value) {
            addCriterion("cType =", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeNotEqualTo(Integer value) {
            addCriterion("cType <>", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeGreaterThan(Integer value) {
            addCriterion("cType >", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("cType >=", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeLessThan(Integer value) {
            addCriterion("cType <", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeLessThanOrEqualTo(Integer value) {
            addCriterion("cType <=", value, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeIn(List<Integer> values) {
            addCriterion("cType in", values, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeNotIn(List<Integer> values) {
            addCriterion("cType not in", values, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeBetween(Integer value1, Integer value2) {
            addCriterion("cType between", value1, value2, "ctype");
            return (Criteria) this;
        }

        public Criteria andCtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("cType not between", value1, value2, "ctype");
            return (Criteria) this;
        }

        public Criteria andCommodityidsIsNull() {
            addCriterion("commodityIds is null");
            return (Criteria) this;
        }

        public Criteria andCommodityidsIsNotNull() {
            addCriterion("commodityIds is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityidsEqualTo(String value) {
            addCriterion("commodityIds =", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsNotEqualTo(String value) {
            addCriterion("commodityIds <>", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsGreaterThan(String value) {
            addCriterion("commodityIds >", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsGreaterThanOrEqualTo(String value) {
            addCriterion("commodityIds >=", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsLessThan(String value) {
            addCriterion("commodityIds <", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsLessThanOrEqualTo(String value) {
            addCriterion("commodityIds <=", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsLike(String value) {
            addCriterion("commodityIds like", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsNotLike(String value) {
            addCriterion("commodityIds not like", value, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsIn(List<String> values) {
            addCriterion("commodityIds in", values, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsNotIn(List<String> values) {
            addCriterion("commodityIds not in", values, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsBetween(String value1, String value2) {
            addCriterion("commodityIds between", value1, value2, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommodityidsNotBetween(String value1, String value2) {
            addCriterion("commodityIds not between", value1, value2, "commodityids");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlIsNull() {
            addCriterion("commoditySql is null");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlIsNotNull() {
            addCriterion("commoditySql is not null");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlEqualTo(String value) {
            addCriterion("commoditySql =", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlNotEqualTo(String value) {
            addCriterion("commoditySql <>", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlGreaterThan(String value) {
            addCriterion("commoditySql >", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlGreaterThanOrEqualTo(String value) {
            addCriterion("commoditySql >=", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlLessThan(String value) {
            addCriterion("commoditySql <", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlLessThanOrEqualTo(String value) {
            addCriterion("commoditySql <=", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlLike(String value) {
            addCriterion("commoditySql like", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlNotLike(String value) {
            addCriterion("commoditySql not like", value, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlIn(List<String> values) {
            addCriterion("commoditySql in", values, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlNotIn(List<String> values) {
            addCriterion("commoditySql not in", values, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlBetween(String value1, String value2) {
            addCriterion("commoditySql between", value1, value2, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andCommoditysqlNotBetween(String value1, String value2) {
            addCriterion("commoditySql not between", value1, value2, "commoditysql");
            return (Criteria) this;
        }

        public Criteria andDetailtypeIsNull() {
            addCriterion("detailType is null");
            return (Criteria) this;
        }

        public Criteria andDetailtypeIsNotNull() {
            addCriterion("detailType is not null");
            return (Criteria) this;
        }

        public Criteria andDetailtypeEqualTo(Integer value) {
            addCriterion("detailType =", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeNotEqualTo(Integer value) {
            addCriterion("detailType <>", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeGreaterThan(Integer value) {
            addCriterion("detailType >", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("detailType >=", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeLessThan(Integer value) {
            addCriterion("detailType <", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeLessThanOrEqualTo(Integer value) {
            addCriterion("detailType <=", value, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeIn(List<Integer> values) {
            addCriterion("detailType in", values, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeNotIn(List<Integer> values) {
            addCriterion("detailType not in", values, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeBetween(Integer value1, Integer value2) {
            addCriterion("detailType between", value1, value2, "detailtype");
            return (Criteria) this;
        }

        public Criteria andDetailtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("detailType not between", value1, value2, "detailtype");
            return (Criteria) this;
        }

        public Criteria andSharetitleIsNull() {
            addCriterion("shareTitle is null");
            return (Criteria) this;
        }

        public Criteria andSharetitleIsNotNull() {
            addCriterion("shareTitle is not null");
            return (Criteria) this;
        }

        public Criteria andSharetitleEqualTo(String value) {
            addCriterion("shareTitle =", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotEqualTo(String value) {
            addCriterion("shareTitle <>", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleGreaterThan(String value) {
            addCriterion("shareTitle >", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleGreaterThanOrEqualTo(String value) {
            addCriterion("shareTitle >=", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLessThan(String value) {
            addCriterion("shareTitle <", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLessThanOrEqualTo(String value) {
            addCriterion("shareTitle <=", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleLike(String value) {
            addCriterion("shareTitle like", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotLike(String value) {
            addCriterion("shareTitle not like", value, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleIn(List<String> values) {
            addCriterion("shareTitle in", values, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotIn(List<String> values) {
            addCriterion("shareTitle not in", values, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleBetween(String value1, String value2) {
            addCriterion("shareTitle between", value1, value2, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetitleNotBetween(String value1, String value2) {
            addCriterion("shareTitle not between", value1, value2, "sharetitle");
            return (Criteria) this;
        }

        public Criteria andSharetextIsNull() {
            addCriterion("shareText is null");
            return (Criteria) this;
        }

        public Criteria andSharetextIsNotNull() {
            addCriterion("shareText is not null");
            return (Criteria) this;
        }

        public Criteria andSharetextEqualTo(String value) {
            addCriterion("shareText =", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotEqualTo(String value) {
            addCriterion("shareText <>", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextGreaterThan(String value) {
            addCriterion("shareText >", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextGreaterThanOrEqualTo(String value) {
            addCriterion("shareText >=", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLessThan(String value) {
            addCriterion("shareText <", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLessThanOrEqualTo(String value) {
            addCriterion("shareText <=", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextLike(String value) {
            addCriterion("shareText like", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotLike(String value) {
            addCriterion("shareText not like", value, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextIn(List<String> values) {
            addCriterion("shareText in", values, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotIn(List<String> values) {
            addCriterion("shareText not in", values, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextBetween(String value1, String value2) {
            addCriterion("shareText between", value1, value2, "sharetext");
            return (Criteria) this;
        }

        public Criteria andSharetextNotBetween(String value1, String value2) {
            addCriterion("shareText not between", value1, value2, "sharetext");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}